<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserTileControl.ascx.cs" Inherits="UserTileControl" %>
<%@ Register Assembly="Decav.Gatsb.Web" Namespace="Decav.Gatsb.Web.Controls" TagPrefix="gatsb" %>

<div class="UserTile" runat="server" id="tileDiv">
    <div class="UserImage">
        <gatsb:UserImage runat="server" id="userImage" Size="Thumbnail" />
    </div>
    <h4><a href="#" runat="server" id="userNameLink"></a><asp:Literal runat="server" ID="userName" /></h4>
    <div runat="server" id="currentLocationDiv" style="margin-bottom:5px;"></div>
    <ul class="TaskMenu">
        <li runat="server" id="addFriendLi"><asp:LinkButton runat="server" ID="addFriendButton" OnClick="AddFriendButton_Click">Add as friend</asp:LinkButton></li>
        <li runat="server" id="friendStatusLi"></li>
        <li runat="server" id="confirmFriendLi">
            <asp:Literal runat="server" ID="confirmPersonName" /> has requested to be your friend.
            <span style="padding-left:10px;"><asp:LinkButton runat="server" ID="confirmFriendButton" OnClick="ConfirmFriendButton_Click">Confirm</asp:LinkButton> |
            <asp:LinkButton runat="server" ID="rejectFriendButton" OnClick="RejectFriendButton_Click">Reject</asp:LinkButton></span>
        </li>
        <li runat="server" id="viewProfileLi"><a runat="server" id="viewProfileHref" href="#">View profile</a></li>
    </ul>
    <div style="clear:both"></div>
</div>